package com.kefu.repository;

import com.kefu.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.Optional;

public interface UserRepository extends JpaRepository<User, String> {
    // 根据手机号查询用户
    User findByPhone(String phone);
}
